package com.xzzz.irda.guardcat.server.metric.gc;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.xzzz.irda.guardcat.server.metric.MetricInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * GC 指标
 *
 * @author xzzz
 */
@Data
//@EsIndex(name = "index_guardcat_gc")
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GcInfo extends MetricInfo {

//    @EsId
    private String id;
    private String creTime;

    private String appName;
    private String machineId;

    private String name;
    private Long totalGcCount;
    private Long totalGcTime;

    private String gcId;
    private String startTime;
    private String endTime;
    private Long duration;

}
